using System;
 
class Trys_during_lecture
{
    static void Main()
    {
 
        int a = int.Parse(Console.ReadLine());
 
        for (int i = 0; i < a; i++)
        {
            for (int leftdots = 0; leftdots < i; leftdots++)
            {
                Console.Write(".");
            }
            Console.Write("*");
            for (int rightdots = i; rightdots < a-1; rightdots++)
            {
                Console.Write(".");
            }
            Console.WriteLine();
        }
 
        for (int i = 0; i < a-1; i++)
        {
            for (int leftdots = i; leftdots < a-2; leftdots++)
            {
                Console.Write(".");
            }
            Console.Write("*");
            for (int rightdots = 0; rightdots < i+1; rightdots++)
            {
                Console.Write(".");
            }
            Console.WriteLine();
        }
    }
        
}